package com.wn.common.pojo;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class TransportDetail {
    private Integer id;
    @NotBlank(message = "请填写交通工具的名称！")
    private String toolName;

    @NotBlank(message = "请填写交通工具的价格")
    private String toolPrice;

    @ApiModelProperty(hidden = true)
    private Integer cityId;

    private Integer checked;



}
